how to handle multiple request in web application in spring